package com.pda.gongpin.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import com.pda.gongpin.R;
import com.pda.gongpin.bean.UnshelveBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;

import java.util.List;

public class UnshelveListAdapter extends BaseAdapter<UnshelveBean.WholePalletDetailVoListBean> {
    public UnshelveListAdapter(int layoutResId, @Nullable List<UnshelveBean.WholePalletDetailVoListBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, UnshelveBean.WholePalletDetailVoListBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_storageBinId,"库位： "+item.getStorageBinId());
        helper.setText(R.id.tv_actualBoxNum,"数量： "+item.getActualBoxNum());
        helper.setText(R.id.tv_stackedCode,"垛型： "+item.getStorageBinId());
        helper.setText(R.id.tv_qaStatusStr,item.getIsCountedStr());
    }
}
